package com.chat.webSocketUtils;

public class UserSocket {

	private WebSocketHandler webSocket;
	private String sid;
	
	public  UserSocket(WebSocketHandler webSocket,String sid)
	{
		this.webSocket = webSocket;
		this.sid = sid;
	}
	
	public WebSocketHandler getWebSocket() {
		return webSocket;
	}
	public void setWebSocket(WebSocketHandler webSocket) {
		this.webSocket = webSocket;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	
	@Override
    public String toString() {
        return "UserSocket{" +
                "sid=" + sid +
                ", webSocket=" + webSocket +
                '}';
    }
	
}
